package com.woniuxy.charin.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 消息队列的配置类
 */
@Configuration
public class RabbitConfig {
    @Bean
    public Queue formQueue() {
        return new Queue("form.queue");
    }
}
